function h1 = test()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
% 
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
% 
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files.  Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.


load test.mat


appdata = [];
appdata.FileMenuFcnLastExportedAsType = 6;
appdata.GUIDEOptions = struct(...
    'active_h', 1, ...
    'taginfo', [], ...
    'override', 0, ...
    'release', 12, ...
    'resize', 'simple', ...
    'accessibility', 'on', ...
    'mfile', 0, ...
    'callbacks', 1, ...
    'singleton', 1, ...
    'syscolorfig', 0, ...
    'blocking', 0, ...
    'lastFilename', 'E:\FER\DIPLOMSKI\synth\synth\gui\test.fig');
appdata.lastValidTag = 'EasyGUIContainer';
appdata.GUIDELayoutEditor = [];
appdata.initTags = struct(...
    'handle', [], ...
    'tag', 'EasyGUIContainer');

h1 = figure(...
'Color',[0.8314 0.8157 0.7843],...
'Colormap',get(0,'defaultfigureColormap'),...
'InvertHardcopy',get(0,'defaultfigureInvertHardcopy'),...
'PaperPosition',get(0,'defaultfigurePaperPosition'),...
'Position',[504 444 876 504],...
'DeleteFcn',@(h,e)delete(obj),...
'Tag','EasyGUIContainer',...
'UserData',mat{1},...
'DefaultaxesCreateFcn',@(h,e)axesCreated(obj,h),...
'DefaultuicontrolInterruptible','off',...
'DefaultuicontrolBusyAction','cancel',...
'DefaultuicontrolFontSize',10,...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h2 = uiflowcontainer(...
'Parent',h1,...
'FlowDirection','lefttoright',...
'Tag','autogui-maincontainer',...
'Clipping','on',...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h3 = uipanel(...
'Parent',h2,...
'Units','pixels',...
'Tag','autogui-guiarea',...
'Clipping','on',...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Position',[3 340 205 163],...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h4 = uiflowcontainer(...
'Parent',h3,...
'Units','pixels',...
'FlowDirection','lefttoright',...
'Tag','autogui-guipanelgroup',...
'Clipping','on',...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Position',[1 1 201 159],...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h5 = uiflowcontainer(...
'Parent',h4,...
'FlowDirection','topdown',...
'Tag','autogui-currentguipanel',...
'Clipping','on',...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Position',[0.00995024875621891 0.0125786163522013 0.995024875621891 0.974842767295597],...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h6 = uiflowcontainer(...
'Parent',h5,...
'Units','pixels',...
'FlowDirection','topdown',...
'DeleteFcn',@(h,e)delete(obj),...
'Tag','labeledwidget-uihandle',...
'Clipping','on',...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Position',[3 98 198 56],...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h7 = uicontrol(...
'Parent',h6,...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'HorizontalAlignment','left',...
'Position',[3 30 188 25],...
'String','Choose a value:',...
'Style','text',...
'BusyAction','cancel',...
'HandleVisibility','off',...
'Interruptible','off',...
'Tag','labeledwidget-uilabel',...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h8 = uiflowcontainer(...
'Parent',h6,...
'FlowDirection','lefttoright',...
'Clipping','on',...
'Position',[0.0101010101010101 0.0357142857142857 0.97979797979798 0.446428571428571],...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h9 = uicontrol(...
'Parent',h8,...
'BackgroundColor',[1 1 1],...
'Callback',@(h,e)editCallback(obj),...
'Position',[3 -2 50 26],...
'String','0.51',...
'Style','edit',...
'BusyAction','cancel',...
'Interruptible','off',...
'Tag','slider-uinumberedit',...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h10 = uicontrol(...
'Parent',h8,...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Callback',@(h,e)propagateValueChange(obj),...
'HorizontalAlignment','left',...
'Position',[55 -2 140 26],...
'Style','slider',...
'Value',0.51,...
'BusyAction','cancel',...
'HandleVisibility','off',...
'Interruptible','off',...
'Tag','slider-uicontrol',...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h11 = uiflowcontainer(...
'Parent',h5,...
'Units','pixels',...
'FlowDirection','topdown',...
'DeleteFcn',@(h,e)delete(obj),...
'Tag','labeledwidget-uihandle',...
'Clipping','on',...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Position',[3 40 198 56],...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h12 = uicontrol(...
'Parent',h11,...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'HorizontalAlignment','left',...
'Position',[3 36 188 19],...
'String','Choose a menu item',...
'Style','text',...
'BusyAction','cancel',...
'HandleVisibility','off',...
'Interruptible','off',...
'Tag','labeledwidget-uilabel',...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h13 = uicontrol(...
'Parent',h11,...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Callback',@(h,e)uicontrolCallback(obj),...
'HorizontalAlignment','left',...
'Position',[3 3 188 31],...
'String',{  'Option 1'; 'Option 2'; 'Option 3' },...
'Style','popupmenu',...
'Value',1,...
'BusyAction','cancel',...
'HandleVisibility','off',...
'Interruptible','off',...
'Tag','labeleduicontrol-uicontrol',...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h14 = uiflowcontainer(...
'Parent',h5,...
'Units','pixels',...
'FlowDirection','topdown',...
'DeleteFcn',@(h,e)delete(obj),...
'Tag','labeledwidget-uihandle',...
'Clipping','on',...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Position',[3 7 198 31],...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h15 = uicontrol(...
'Parent',h14,...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'HorizontalAlignment','left',...
'Position',[2 2 80 25],...
'String','Toggle Button',...
'Style','text',...
'BusyAction','cancel',...
'HandleVisibility','off',...
'Interruptible','off',...
'Tag','labeledwidget-uilabel',...
'Visible','off',...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h16 = uicontrol(...
'Parent',h14,...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Callback',@(h,e)uicontrolCallback(obj),...
'HorizontalAlignment','left',...
'Position',[3 1 188 29],...
'String','Toggle Button',...
'Style','togglebutton',...
'BusyAction','cancel',...
'HandleVisibility','off',...
'Interruptible','off',...
'Tag','labeleduicontrol-uicontrol',...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );

appdata = [];
appdata.lastValidTag = blanks(0);

h17 = uicontainer(...
'Parent',h2,...
'Units','pixels',...
'BackgroundColor',[0.8314 0.8157 0.7843],...
'Position',[210 3 665 500],...
'Tag','autogui-plotarea',...
'CreateFcn', {@local_CreateFcn, blanks(0), appdata} );



% --- Set application data first then calling the CreateFcn. 
function local_CreateFcn(hObject, eventdata, createfcn, appdata)

if ~isempty(appdata)
   names = fieldnames(appdata);
   for i=1:length(names)
       name = char(names(i));
       setappdata(hObject, name, getfield(appdata,name));
   end
end

if ~isempty(createfcn)
   if isa(createfcn,'function_handle')
       createfcn(hObject, eventdata);
   else
       eval(createfcn);
   end
end
